<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="../libs/jquery-2.1.1.min.js"></script>
</head>
<body>
    <script src="httprequestmodule.js"></script>
    <script>
        httpRequestModule.getJSON('http://somethingExisting-with-allowed-access.bg')
            .then(function (data) {
                console.log(data)
            });
    </script>
</body>
</html>